package com.jiahua.user.biz.rest.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.jiahua.user.biz.dao.CustomerDao;
import com.jiahua.user.biz.model.Customer;
import com.jiahua.user.biz.rest.service.CustomerService;

@Service("customerJSService")
public class CustomerServiceImpl implements CustomerService {
	
	CustomerDao customerDao;
	
	public void setCustomerDao(CustomerDao customerDao) {
		this.customerDao = customerDao;
	}

	@Override
	public Customer create(Customer user) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Customer> read() {
		return customerDao.getListCustomer(100);
	}

	@Override
	public void update(String uuid, Customer user) {

	}

	@Override
	public void delete(String uuid) {
		// TODO Auto-generated method stub

	}

}
